package com.keyware.utils.keycloud;

/**
 * session监听器使用的临时对象类（在线用户）
 * 
 * @ClassName: OnlineUser
 * @author 张怀珠
 * @date 2014-03-11
 */
public class OnlineUser {
	private String sessionId; // sessionID
	private String id; // 用户ID
	private String name; // 用户名
	private String ip; // 用户IP
	private String onlineTime; //

	public OnlineUser(String sessionId, String id, String name, String ip, String onlineTime) {
		this.sessionId = sessionId;
		this.id = id;
		this.name = name;
		this.ip = ip;
		this.onlineTime = onlineTime;
	}

	public OnlineUser() {
		this.sessionId = "";
		this.id = "";
		this.name = "";
		this.ip = "";
		this.onlineTime = "";
	}

	public String getsId() {
		return sessionId;
	}

	public void setsId(String sessionId) {
		this.sessionId = sessionId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getOnlineTime() {
		return onlineTime;
	}

	public void setOnlineTime(String onlineTime) {
		this.onlineTime = onlineTime;
	}

}
